HipAnimation

Currently used as a wrapper for holding animation tracks. Could probably do advanced work as setting track markers for playing tracks sequentially. Setting general animation speed

Constructors

this
this(string name)
Undocumented in source.

Members

Functions

addTrack
IHipAnimation addTrack(IHipAnimationTrack track)
Undocumented in source. Be warned that the author may not have intended to support it.
getCurrentFrame
HipAnimationFrame* getCurrentFrame()
Undocumented in source. Be warned that the author may not have intended to support it.
getCurrentTrack
IHipAnimationTrack getCurrentTrack()
Undocumented in source. Be warned that the author may not have intended to support it.
getTrack
IHipAnimationTrack getTrack(string trackName)
Undocumented in source. Be warned that the author may not have intended to support it.
play
void play(string trackName)
Undocumented in source. Be warned that the author may not have intended to support it.
setTimeScale
void setTimeScale(float scale)
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update(float dt)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

fromAtlas
HipAnimation fromAtlas(HipTextureAtlas atlas, string which, uint fps, HipAnimationLoopingMode loopingMode)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

currentFrame
HipAnimationFrame* currentFrame;
Undocumented in source.
currentTrack
IHipAnimationTrack currentTrack;
Undocumented in source.
name
string name;
Undocumented in source.
timeScale
float timeScale;
Undocumented in source.
tracks
IHipAnimationTrack[string] tracks;
Undocumented in source.

Meta